package com.auto.survey.activity.monitoring.ctrlmeasure

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.auto.survey.activity.monitoring.entity.MonitorStauts
import kotlinx.coroutines.launch

class CtrlStartMeasureViewModle: ViewModel() {

    val mirrorType = MutableLiveData<String>()

    val state = MutableLiveData<MonitorStauts>()
    val measureModle = MutableLiveData<String>()

    fun updateMirrorType(type:String){
        mirrorType.postValue(type)
    }

    fun updateMeasureModle(modle:String){
        measureModle.postValue(modle)
    }

    fun updateState(stauts:MonitorStauts) {
        state.postValue(stauts)
    }

}